package org.lmind.srd35.core

import org.lmind.srd35.core.item._

/**
 * 可装备物品的对象
 */
trait Equipmentable {

  var _weapon: Weapon = null
  var _armor: Armor = null
  var _shield: Shield = null

  def weapon = _weapon
  def weapon_=(v: Weapon) = _weapon = v

  def armor = _armor
  def armor_=(v: Armor) = _armor = v
  
  def shield = _shield
  def shield_=(v: Shield) = _shield = v
}